<script setup>
import CommonAside from './commonAside.vue'
import CommonHeader from './commonHeader.vue'
import commonTag from './commonTag.vue'
</script>

<template>
  <div class="common-layout">
    <el-container class="lay-container">
      <!-- 自定义左侧组件 -->
      <CommonAside />
      <el-container>
        <!-- 头部组件 -->
        <el-header class="el-header">
          <CommonHeader />
        </el-header>
        <!-- tab组件 -->
        <commonTag />
        <!-- 主要内容区-->
        <el-main class="right-main">
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style lang="less" scoped>
.common-layout,
.lay-container {
  height: 100%;
}

.el-header {
  background-color: aqua;
  padding: 0;
}
</style>
